package com.train.mgr.modules.biz.dto.request;

import com.train.common.model.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class StatViewDTO extends PageParam {

    @NotNull(message = "课程ID必填")
    @ApiModelProperty(name = "courseId", value = "课程ID必填",required = true)
    private Long courseId;

    @NotNull(message = "学习类型必填")
    @ApiModelProperty(name = "studyType", value = "学习类型（1-课程，2-课时）",required = true)
    private Long studyType;

}
